     dojo.require("dijit.layout.ContentPane");
     dojo.require("dijit.layout.BorderContainer");
     dojo.require("dijit.form.TextBox");
     dojo.require("dijit.Tree");
     dojo.require("dojo.data.ItemFileReadStore");
     dojo.require("dijit.layout.TabContainer");
     dojo.require("dijit.form.Textarea");
     dojo.require("dojox.grid.DataGrid");
     dojo.require("dojox.data.CsvStore");     
     dojo.require("dijit.form.Form");
     dojo.require("dijit.form.Button");
     dojo.require("dijit.form.CheckBox");
     dojo.require("dijit.form.DateTextBox");
     dojo.require("dijit.form.ComboBox");
     dojo.require("dijit.form.NumberTextBox");
     dojo.require("dojo.parser");
     function getView(data){

         var view = new String("");
         if (data == "添加简历"){
        	 view = "addresume.html";
         } else if (data=="搜索简历") {
        	 view = "searchresume.html";
         } else if (data=="添加用户") {
    	     view = "register.html";
         }
         var xhrArgs = {
             url: view,
             handleAs: "text",
             load: function(data) {
        	   dojo.byId("response").innerHTML ="";
               dojo.byId("response").innerHTML = data;
               dojo.parser.parse("response"); 
             },
             error: function(error) {
            	 dojo.byId("response").innerHTML = "An unexpected error occurred: " + error;
             }
         };
         dojo.byId("response").innerHTML = "loading...";
         var deferred = dojo.xhrPost(xhrArgs);
         
     }